Skip to content

review: feat: read jvm version for default compliance level#6043

Merged
SirYwell merged 6 commits intomasterfrom
updateDefaultComplianceLevel
Nov 8, 2024
Merged

review: feat: read jvm version for default compliance level#6043
SirYwell merged 6 commits intomasterfrom
updateDefaultComplianceLevel

Conversation

@MartinWitt
Copy link
Collaborator

Maybe the current JVM version is a better default compared to 8 or?

@MartinWitt MartinWitt changed the title feat: read jvm version for default compliance level review: feat: read jvm version for default compliance level Oct 27, 2024
@MartinWitt MartinWitt requested a review from SirYwell October 27, 2024 12:39
@SirYwell
Copy link
Collaborator

I think that's indeed a better default, but it's probably something we want to at least highlight in the next release? I also don't think we need to catch any exception around the version code, as it should work on Java 10 onwards and we're targeting Java 17.

@MartinWitt
Copy link
Collaborator Author

I think that's indeed a better default, but it's probably something we want to at least highlight in the next release?

Hmm, we could start collecting common answers and important behaviors on the website.

@SirYwell
Copy link
Collaborator

Hmm, we could start collecting common answers and important behaviors on the website.

Good idea. But maybe we can also improve the in-code documentation (e.g. add a comment to the DEFAULT_CODE_COMPLIANCE_LEVEL field). WDYT?

Co-authored-by: Hannes Greule <SirYwell@users.noreply.github.com>
Copy link
Collaborator

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SirYwell SirYwell merged commit 41a86e1 into master Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants